﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace CPPEI.PM.Shell.Dialogs
{
    /// <summary>
    /// Interaction logic for DlgCreateWorkItem.xaml
    /// </summary>
    public partial class DlgCreateWorkItem : Window
    {
        public DlgCreateWorkItem()
        {
            InitializeComponent();
        }

        private void _ctlBtnOK_Click_1(object sender, RoutedEventArgs e)
        {
            //PMServiceRef.PMWebServiceSoapClient client = new PMServiceRef.PMWebServiceSoapClient();
            //PMServiceRef.WorkItem workItem = new PMServiceRef.WorkItem();
            //workItem.Caption = _ctlEditCaption.Text;
            //workItem.CategoryCode = "C001";
            //workItem.Id = Guid.NewGuid();
            //if (client.CreateWorkItem(workItem))
            //{
            //    MessageBox.Show("Success");
            //    DialogResult = true;
            //}
        }
    }
}
